Imaging and recording apparatus controlling erasure of data in flash type memory

ABSTRACT

An imaging apparatus connectable to an external device includes a recording instruction module which instructs a recording, an imaging module which generates an image signal from an optical image, a memory module which stores the image signal generated by the imaging module, a connecting module which enables connection of the imaging apparatus to the external device, and a control module which controls wiring into the memory module and effects control of an operation of the recording instruction module or an operation responsive thereto.

CROSS REFERENCE TO RELATED APPLICATION

This is a continuation of U.S. application Ser. No. 10/742,891, filedDec. 23, 2003, now U.S. Pat. No. 7,304,669, which is a continuation ofU.S. application Ser. No. 09/481,598, filed Jan. 12, 2000, now U.S. Pat.No. 6,677,989, which is a continuation of U.S. application Ser. No.09/127,603, filed Jul. 31, 1998, now U.S. Pat. No. 6,081,350, which is acontinuation of U.S. application Ser. No. 08/790,062, filed Jan. 28,1997, now U.S. Pat. No. 5,790,274, which is a continuation of U.S.application Ser. No. 08/462,486, filed Jun. 5, 1995, now U.S. Pat. No.5,699,173, which is a continuation of application Ser. No. 08/215,625,filed Mar. 22, 1994, now U.S. Pat. No. 5,539,535, the subject matter ofwhich is incorporated by reference herein. This application also relatesto application Ser. No. 08/790,061, now U.S. Pat. No. 5,801,847, whichis a continuation of application Ser. No. 08/462,486 as well asapplication Ser. No. 08/790,056, now U.S. Pat. No. 5,793,517, which isalso a continuation of Ser. No. 08/462,486.

BACKGROUND OF THE INVENTION

The present invention relates to an imaging and recording apparatus forelectrically recording optical images of a subject as image informationsignals, and in particular to an imaging and recording apparatus havingenhanced manipulation performance when the apparatus is connected to aperipheral device and the image information signals are exchangedbetween the apparatus and the device.

As conventional apparatuses of this kind, there are so-called electroniccameras. Examples of the electronic cameras include a digital stillcamera described in Sasaki et al., “Picture coding for digital stillcamera”, Journal of The Institute of Television Engineers of Japan, Vol.46, No. 3, (1992), pp. 300-307 (hereafter referred to as conventionaltechnique reference 1) and a camera of DS-100 type described in acatalog “FUJIX DIGITAL STILL CAMERA SYSTEM” published by Fuji Photo FilmCo. Ltd. in September 1991 (hereafter referred to as conventionaltechnique reference 2).

In electronic cameras described in the conventional technique references1 and 2, image information signals derived by using an imaging deviceare digitized (quantized) and recorded in a card having a semiconductormemory thereon (hereafter referred to as memory card) as shown, forexample, in FIG. 1 of the conventional technique reference 1.

In the conventional technique references 1 and 2, image informationsignals are thus handled as digital signals. Therefore, connection toperipheral devices such as personal computers originally handling onlydigital signals is easy (because signals can be transmitted and receivedas digital signals without the intervention of analog-digital convertersand the like). Furthermore, the image quality degradation is not causedby the transmission line. Thus, the performance of connection with otheris systems is shown to be good.

In the conventional technique reference 1, concrete examples regardingthe connection with peripheral devices are not described. However, it isconsidered that a memory card is used as an intermediate medium. In theconventional technique reference 2, an example of use of such a memorycard is disclosed. That is to say, a memory card is first mounted on anelectronic camera to record image information signals. Thereafter, thismemory card is detached from the electronic camera and mounted on aperipheral device separate from the electronic camera. The imageinformation signals recorded on the memory card are read out into thisperipheral device. In this case as well, no methods are disclosed exceptthe above described method using a memory card as the intermediatemedium as the method for transmitting image information recorded in thememory by the electronic camera to the peripheral device in the form ofdigital signals as they are (with the intervention of neither adigital-analog converter nor an analog-digital converter).

As a known apparatus connected to a personal computer or the like toelectrically transmit and receive image information signals, there is astill image compressing and expanding substrate of FSA 2001 typedescribed in “Summary of FSA 2001” published by Fuji Film MicrodevicesCorporation on Jun. 24, 1991 (hereafter referred to as conventionaltechnique reference 3). The apparatus described in this conventionaltechnique reference 3 incorporates a semiconductor memory for storingdigital image information signals. Between this apparatus and a personalcomputer connected thereto via a connector, a cable and the like, thedigital image information signals are stored in the above describedsemiconductor memory or digital image information signals already storedare transmitted and received in the form of digital signals as they are.

Apparatuses of the conventional technique references 1 and 2 are cameraapparatuses having imaging means for generating electrical imageinformation signals from optical images. On the other hand, theapparatus of the conventional technique reference 3 has no such meansand image information signals are generated by a personal computer.Image information signals generated by the personal computer aretransmitted to the apparatus described in the conventional techniquereference and stored temporarily in a first memory. Subsequently, theimage information signals read out from the first memory are subjectedto image data compression processing using the DCT (discrete cosinetransform) method and resultant signals are sent back to the abovedescribed personal computer. Such an operation is similar to theoperation of the apparatus block shown in FIG. 2 of the conventionaltechnique reference 1.

Operation for writing or reading image information signals in theapparatus described in the conventional technique reference 3 isexecuted under time management of the connected personal computer.Otherwise, duplication of writing operation and reading operation ofinformation data in the above described first memory may cause data of acertain image to be switched to data of a different image while theformer cited data are being read out, resulting in deformed imageinformation. Such a disadvantage can be prevented in the apparatusdescribed in the conventional technique reference 3.

The apparatus described in the conventional technique reference 3conducts processing for compressing the above described image data andoutputs image information signals thus compressed. Data are outputtedfrom this apparatus to the personal computer in synchronism with a clockoutputted from the personal computer. However, image data compression isconducted by using an independent clock within this apparatus, i.e., aclock which is not in synchronism with the clock outputted from thepersonal computer. Therefore, the apparatus has a buffer memory ofso-called FIFO (Fast In/Fast out) type.

Operation of this FIFO memory will now be described by referring to FIG.2.

In FIG. 2, the FIFO memory 21 has data storage areas of memory address0, 1, 2, . . . , n, n+1, m. Upon operation start of the memory 21, dataare written into address 0, and then in the order of address 1, 2, . . .. The write address is updated every repetition timing of the abovedescribed clock within the apparatus. If data are written into theaddress n, data readout is started from the address 0 at this timing. Inthe same way as writing, data are then read in the order of address 1,2, . . . . The read address is updated every repetition timing of anexternal clock supplied from the above described personal computer tothe above described apparatus. Thereafter, the read address is alsoupdated so as to follow the write address successively updated. As forboth writing and reading, upon reaching address m, the address is socontrolled as to return to address 0 at the next clock timing.

The FIFO memory is operated as heretofore described. It is now assumedthat Aos (=n) is the address offset value of the initial state betweenwriting and reading, whereas A′os (=m−n) is the address offset valuebetween writing and reading when the write address has reached the finaladdress m of the buffer memory, and T is the repetition period of theabove described read clock supplied from the outside. Even if the timingof the write clock is deviated from the generation timing of the readclock by at most Aos×T in the lag direction and by at most A′os×T in thelead direction, data can be read out correctly in the order in whichthey have been written into the memory. That is to say, between systemsactivated by asynchronous clocks, data transfer can be executed in thecorrect order by providing a FIFO buffer memory between them.

In case a FIFO memory is used, however, the write clock (internal clockof the above described apparatus in case of compressed data outputoperation mode of the apparatus described in the conventional techniquereference 3) and the read clock (the clock supplied from the personalcomputer to the above described apparatus in case of the compressed dataoutput operation mode) cannot be established without mutual relation atall. As for the difference in repetition frequency between clocks, forexample, the address offset value regulated from the capacity of thebuffer memory in use becomes a restriction factor. Furthermore, thestart timing of read operation must be subjected to-time management withrespect to timing of write operation.

The apparatus described in the conventional technique reference 3further has a function of inputting a compressed image informationsignal from the personal computer, restoring the original uncompressedimage information signal in an internal data expansion circuit, storingthe restored original uncompressed image information signal in the abovedescribed first semiconductor memory, and thereafter returning thisrestored image information signal to the personal computer. In suchoperation as well, operation timing of this apparatus is executed undermanagement of the connected personal computer. Therefore, it is possibleto prevent such a situation that writing, into the first semiconductormemory, an image information signal which has not been subjected tocompression processing and which is supplied from the computer overlapsin time with writing the above described restored image informationsignal into the first semiconductor memory.

In such operation, the FIFO memory operates by using, as a write clock,the clock supplied from the personal computer and using, as a readclock, the internal clock of the apparatus. The interrelation betweenthese two clocks is the same as that of the output operation of theabove described compressed image information signal.

In the apparatus described in the conventional technique reference 3,the program of the personal computer connected for use is configured soas to prevent occurrence, in the FIFO memory, of such an operation modethat writing using the internal clock of the apparatus overlaps in timewith writing using the clock supplied from the personal computer.

Electronic circuits for the imaging and recording apparatuses such aselectronic cameras described in the conventional technique references 1and 2 can be implemented in extremely small-sized circuit blocks byusing recent high-integration LSI technique and high-density substratemounting technique. Therefore, especially in fabricating a small-sizedcamera using a monofocus optical lens and a memory card as described inthe above described conventional technique reference, the space forhousing this memory card, the space for mounting a memory card loadingconnector, or the space of a mechanism for pulling out the memory cardbecomes a primary factor hindering the size reduction.

Furthermore, it is conceivable to reduce the size of the memory card asthe size of the apparatus is reduced. However, pulling out a furthersmaller-sized memory card from a smaller-sized apparatus involvestroublesome manipulation. There is also a fear that the apparatus willbe inadvertently dropped in pulling out the memory card and theapparatus will be destroyed.

The above described disadvantage caused by pulling out and putting inthe memory card can be dissolved by providing a connector for inputtingand outputting image information signals in the imaging and recordingapparatus and thereby sending/receiving signals directly to/from anexternal device via this connector. In the imaging and recordingapparatus, however, there is provided a recording switch correspondingto the shutter button of a conventional film camera. There is a casewhere closing this recording switch causes execution of operation oftaking in an optical image at an arbitrary timing which is desired bythe operator and which is not restricted by the operation situation ofan external device connected to the above described connector andrecording the optical image in the semiconductor memory as an electricsignal. Or there is a case where the execution is desired. For example,the case where an external device is put into the connector in such astate that the recording operation within the apparatus is not yet beencompleted after the recording switch has been closed corresponds to theformer case. The case where a picture is to be recorded without throwingaway the chance of clicking the shutter at certain moment corresponds tothe latter case. In case a connector as described above is provided inthe imaging and recording apparatus, there is needed new operationmanagement differing from the aforementioned apparatus described in theconventional technique reference 3, in which every apparatus operationis subjected to centralized management by a computer, in order toprevent deformation of image contents caused by overlap of informationwriting with information reading in the semiconductor memory or in orderto avoid disadvantage of deformation of image contents resulting fromcompetition in the same semiconductor memory between information writingcaused by manipulation of the recording switch and information writinginputted from an external device.

Furthermore, a personal computer is conceivable as an external devicefor exchanging image information with the imaging and recordingapparatus. In this case, however, it is extremely effective from theaspects of universality and manipulation capability to make possibleinformation exchange by inputting an information transmission clockhaving no correlation at all with respect to the system operation clockused within the imaging and recording apparatus from the personalcomputer to the imaging and recording apparatus.

SUMMARY OF THE INVENTION

In view of the above described points, an object of the presentinvention is to provide a small-sized imaging and recording apparatuswhich is capable of preventing false operation and which is excellent inuniversality and manipulation capability.

The above described object is achieved by an imaging and recordingapparatus having a semiconductor memory, apparatus operation startcommanding means such as a recording switch, and control means forexercising control so as to write image information signals obtained byimaging into the semiconductor memory in response to an operation startcommand given by the apparatus operation start commanding means. Inaccordance with one feature of the present invention, the imaging andrecording apparatus includes a first connector for outputting an imageinformation signal stored in the semiconductor memory to the outside ofthe apparatus or for inputting a signal to be stored in thesemiconductor memory to the inside of the apparatus, and state detectionmeans for detecting a first state, i.e., an exchange ready state orexchange execution state of image information with respect to anexternal device and for detecting a second state, i.e., an operationstate for writing an image information signal into the semiconductormemory in response to closure of the recording switch, by detecting thefact that the first connector has been inserted into a second connectorprovided in the external device or detecting a signal supplied from theexternal device via the first connector. When the state detection meanshas detected the above described first state, writing a new imageinformation signal into a semiconductor memory in response to closure ofthe above described recording switch is inhibited. When the statedetection means has detected the above described second state,transition to the state for executing exchange of image information withthe external device is inhibited.

Furthermore, in an aspect preferred for improving the manipulationcapability of an imaging and recording apparatus according to thepresent invention, a detection signal obtained when the above describedsecond state has been detected is adapted to be outputted to the abovedescribed first connector.

Furthermore, in an aspect allowing various methods using an imaging andrecording apparatus according to the present invention, terminals of thefirst connector are put out on an armoring side face of the apparatuslooking toward a direction different from the incidence direction of apicture to be imaged.

The above described state detection means has a switch pressed andclosed when the first connector has been inserted into the secondconnector, for example. This switch outputs an electric signal whilethese connectors are in the insertion state. Or after the insertion ofthe connector, a signal inputted from the external device via theseconnectors at least before execution of exchange of image signals withthe external device is detected and an electric signal indicating thefirst state is outputted. However, while the semiconductor memory is inthe write operation mode of image information signals in response toclosure of the recording switch, i.e., while the semiconductor memory isin the second state, outputting the above described electric signal fromthe state detection means is inhibited. When there is an output electricsignal indicating the first state of the state detection means, controlis exercised so as to inhibit writing image information signalsresponsive to closure of the recording switch, in the semiconductormemory to be accessed for exchanging image information signals with theexternal device.

Even if the user should inadvertently manipulate the recording switchwhen image information is being exchanged with the external device,contents of images being exchanged are not deformed owing to theoperation heretofore described according to the present invention.Furthermore, by providing a buffer memory for temporary storage in astage preceding the semiconductor memory, for example, and inhibitingimage information signals from the buffer memory to be written into thesemiconductor memory as described above, picture imaging responsive tomanipulation of the recording switch is possible even in the interval ofoperation of signal exchange with the external device.

When outputting the electric signal indicating the first state from thestate detection means is inhibited, i.e., in the second state, theaccess state of the semiconductor memory selected to write the imageinformation signal in response to closure of the recording switch ismaintained and transition to a state allowing access from the externaldevice is inhibited.

Even in the state in which a series of operations for recording theimaged picture are continued, the above described operation according tothe present invention makes it possible to execute manipulation forconnecting the external device without deforming contents of thepicture.

Furthermore, if the semiconductor memory is configured so that anelectric signal indicating that the semiconductor memory is in thesecond state is outputted from the state detection means and theelectric signal is used as an apparatus output via the connector, itbecomes possible to detect, in an external device connected via theconnector, the end of the second state. Therefore, after the end ofimaging and recording operation started at timing which is not undertime management of the external device by the recording switch oroperation start commanding means incorporated in the imaging andrecording apparatus of the present invention including a receivingportion of a remote controller using infrared rays or the like, thesemiconductor memory can be accessed from the external deviceimmediately or automatically.

Furthermore, in an imaging and recording apparatus according to anaspect of the present invention, the first connector is put out in adirection different from the incidence direction of the optical image ofthe subject. Thereby, it becomes easy to keep the field of subject viewof the imaging and recording apparatus in such a state that the firstconnector is surely coupled to the second connector possessed by anexternal device or the like.

Furthermore, in accordance with the present invention, writing an imageinformation signal in response to the recording switch, which is theinternal operation of the apparatus, and reading/writing an imageinformation signal, which is the operation of exchanging informationwith an external device of the apparatus are executed independently in atime-division fashion. There are no temporal restraints imposed uponoperation timing between divided operations. By supplying, from theoutside of the apparatus, a clock having no correlation with theinternal system operation clock of the apparatus, therefore, exchange ofimage information with the apparatus can be executed.

Other objects, constructions and advantages of the present inventionwill become apparent from the following detailed description inconjunction with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram showing an embodiment of an imaging andrecording apparatus according to the present invention;

FIG. 2 is a schematic diagram showing a FIFO memory used in aconventional imaging and recording apparatus;

FIGS. 3A-3C are timing charts showing the operation of a semiconductormemory of FIG. 1;

FIG. 4 is a block diagram showing a concrete example of a statedetection circuit of FIG. 1;

FIG. 5 is a timing chart showing a function of exchanging signals withan external device in the embodiment shown in FIG. 1 and showing theoperation of the state detection circuit shown in FIG. 4;

FIG. 6 is a block diagram showing another concrete example of the statedetection circuit of FIG. 1;

FIGS. 7A and 7B are timing charts showing the operation of the statedetection circuit illustrated in FIG. 6;

FIG. 8 is a timing chart showing image reproducing operation of theembodiment shown in FIG. 1;

FIG. 9 is a block diagram showing a principal part of another embodimentof an imaging and recording apparatus according to the presentinvention;

FIG. 10 is a block diagram showing one concrete example of a statedetection circuit of FIG. 9;

FIG. 11 is a block diagram showing another concrete example of the statedetection circuit of FIG. 9; and

FIGS. 12A to 12F are diagrams showing an exterior view and examples ofuse of an embodiment of an imaging and recording apparatus according tothe present invention.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

Embodiments of the present invention will hereafter be described byreferring to the drawings.

FIG. 1 is a block diagram showing an embodiment of an imaging andrecording apparatus according to the present invention. Numeral 1denotes an imaging device, 2 a timing generation circuit, 3 anoscillator, 4 a power supply switch, 5 a recording trigger switch, 6 anAND gate, 7 a timing generation circuit, 8 an oscillator, 9 an inverter,10 and 11 switches, 12 and 13 semiconductor memories, 14 a connector, 15and 16 switches, 17 a camera signal processing circuit, 18 a switch, 19an encoder, 20 an output terminal, 21 an image data compression circuit,22 an image data decompression circuit, 23 a state detection circuit,and 24 a switch.

With reference to FIG. 1, when the user has closed the power supplyswitch 4, the timing generation circuit 2 formed by a microcomputer or alogic circuit detects this and activates a power supply circuit, whichis not illustrated, to supply power to various parts. In addition, thetiming generation circuit 2 suitably conducts processing such asfrequency division on a first reference frequency signal supplied fromthe oscillator 3 and thereby generates clock pulses CK1, CK3 and CK2respectively for operation of the imaging device 1, the camera signalprocessing circuit 17 and the encoder 19 and switch control signals SW1,SW2 and SW3. In response to these switch control signals SW1, SW2 andSW3, the switches 10, 16 and 18 assume illustrated positions. Theseswitches 10, 16 and 18 can be easily formed by using known multiplexercircuits according to the logic circuit technique.

From the imaging device 1 having an optical lens which is notillustrated and which is attached to a light receiving face thereof, ananalog image information signal AIS obtained by conducting photoelectricconversion on an optical image is outputted. The camera signalprocessing circuit 17 has circuits known in the art of televisioncamera, such as a correlation double sampling circuit, an automatic gaincontrol circuit, a matrix circuit, and a gamma processing circuit. Inthe middle course of a signal line included in the circuitconfiguration, an A/D (analog/digital) converter is disposed to output adigitized base-band digital image information signal DIS.

This digital image information signal DIS is supplied to the encoder 19via the switch 18. From the base-band digital image information signalDIS, a chrome signal modulated into a sub-carrier is generated. Thechrome signal is aligned in timing with a base-band luminance signal anda synchronizing signal supplied from the timing generation circuit 2 asa part of the clock pulse CK1. These are combined and outputted from anoutput terminal 20 as a composite video signal or an independentcomponent signal.

The encoder 19 has a D/A (digital/analog) converter. An imageinformation signal converted into an analog signal is outputted from theoutput terminal 20. By connecting a known television monitor device tothe output terminal 20, continuous (moving picture) images picked up bythe imaging device 1 can be displayed on the monitor device astelevision video images.

Operation heretofore described is similar to that of a known televisioncamera device and can be realized by using a television camera circuitof commercially available model VM-H39 camera integral with VTR producedby Hitachi Ltd., for example.

Operation of the electronic camera function of this embodiment will nowbe described.

The baseband digital image information signal DIS outputted from thecamera signal processing circuit 17 is supplied to the semiconductormemory 12 via the switch 16. Furthermore, at this time, the clock CL andan address signal Ad generated in synchronism with the camera signalprocessing clock CK3 by the timing generation circuit 2 are supplied tothe semiconductor memory 12 via the switch 10 as a write clock WC and awrite address signal WA, respectively.

FIGS. 3A and 3B are timing charts showing the operation of thesemiconductor memory 12. FIG. 3A shows operation timing of a televisioncamera circuit including the imaging device 1 and the camera signalprocessing circuit 17. FIG. 3B shows storage timing of the semiconductormemory 13. FIG. 3C shows operation modes of the semiconductor memory 12.In FIG. 3B, P1, P2 and P3 represent succeeding images (field pictures orframe pictures of television signal) in the image information signalDIS. Images written into the semiconductor memory 12 are alsorepresented by the same characters.

With reference to FIGS. 1 and 3, upon closure of the power supply switch4 at time T1, the television camera circuit starts the above describedoperation and the image information signal DIS is generated. Each of thesemiconductor memories 12 and 13 typically has a memory capacity capableof recording data corresponding to one sheet of field picture or onesheet of frame picture.

Typically, operation for writing image data into the semiconductormemory 12 is executed so that image data written previously may berewritten with new data by a predetermined amount of data (eight bits,for example) in temporal serial order. In case a natural picture is tobe recorded by an electronic camera, a data amount of at least one kbitper sheet of picture is needed. Even after operation for writing data ofone sheet of picture has been commenced, image data written previouslyremain in the semiconductor memory until operation for writing data ofthis sheet of picture is completed. That is to say, in a time regiondenoted by P2 in FIG. 3B, for example, only data of a picture P2 is notstored in the semiconductor memory 12, but data of picture P1 previouslywritten and data of the picture P2 to be written this time are mixedlystored.

In the waveform of FIG. 3, the term “hold” as in “P4 hold” means thatafter writing data of one sheet of picture has been completed thepicture data are held as they are without writing new image data (i.e.without rewriting picture data).

After time T1, pictures P1 to P4 generated by the camera signalprocessing circuit 17 are successively written into the semiconductormemory 12. At each time, image data are updated. If writing data of thepicture P4 being written has been completed when the recording triggerswitch 5 is closed by the user (time T2), writing next data into thesemiconductor memory 12 is inhibited. The semiconductor memory 12 iscontrolled so that the data of this picture P4 may be held (subjected toimage freezing). This control is executed by stopping occurrence of theclock CL in the timing generation circuit 2 at timing of the verticalsynchronizing signal of the image information signal AIS. Subsequently,the timing generation circuit 2 generates an operation control signalMC. As described below, this operation control signal MC is supplied tothe timing generation circuit 7 via the AND gate 6, which is controlledto open and close according to an output signal SD of the statedetection circuit 23. The operation of the timing generation circuit 7is thus started.

The timing generation circuit 7 conducts suitable processing such asfrequency division on a reference signal supplied from the oscillator 8.Thus, the timing generation circuit 7 generates a clock CL1 for drivingthe semiconductor memory 12, an address signal Ad1, operation clocks CK4and CK5 respectively for the image data compression circuit 21 and theimage data decompression circuit 22, a clock CL2 for driving thesemiconductor memory 13 which stores compressed image data CID, anaddress signal Adz, and a read/write changeover signal (R/-W2) forchanging over between read operation and write operation. The timinggeneration circuit 7 can be formed by using known logic circuits. Theread/write changeover signal (R/-W2) indicates “read” when it is at “H”(high level) and indicates “write” when it is at “L” (low level), forexample.

Upon receiving the operation control signal MC, the timing generationcircuit 7 starts operation for compressing image data and operation forwriting compressed image data CID into the semiconductor memory 13.

That is to say, the clock CL1 and the address signal Ad1 outputted fromthe timing generation circuit 7 are supplied to the semiconductor memory12 via the switch 10 as a read clock RC and a read address signal RA.Thereby, data of the picture P4 stored and held are successively readout from the semiconductor memory 12 and compressed in the compressioncircuit 21, compressed image data CID being thus obtained. By using aFIFO semiconductor memory as the semiconductor memory 12, it is possibleto start data reading of this picture P4 even in the middle course ofdata writing interval of the picture P4 of FIG. 3B as described withreference to FIG. 2. Furthermore, the write clock WC may not be insynchronism with the read clock RC.

The compressed image data CID outputted from the compression circuit 21are supplied to a data input/output terminal I/O of the semiconductormemory 13. In addition, the clock CL2, the address signal Ad2, and theread/write changeover signal (R/-W2) indicating “write” outputted fromthe timing generation circuit 7 are supplied to the semiconductor memory13 via the switch 11 as a clock CL, an address signal Ad2, and aread/write changeover signal (R/-W). During the interval denoted by P4as shown in FIG. 3C, compressed data of the picture P4 are written intothe semiconductor memory 13.

The semiconductor memory 13 is a memory changed over to write mode orread mode of image data by the read/write changeover signal (R/-W). Whenthe read/write changeover signal (R/-W) is “H”, the semiconductor memory13 is in the write mode. When the read/write changeover signal (R/V) is“L”, the semiconductor. At this time, the data input/output terminal I/Ois used for outputting data, and the clock CL and the address signal Adare used as the read clock and the read address signal, respectively. Asemiconductor memory circuit changed over to the write or read mode andused in this way is also known.

In case the size of the apparatus is to be reduced in this embodiment,small-sized LSI circuits are used for the data compression circuit 21and the data decompression circuit 22. Because of the processingcapability of the circuit elements, it takes a longer time to generatecompressed data of one sheet of picture than to generate image data ofone sheet of picture in the above described camera operation. Therefore,the semiconductor memory 12 is used as a buffer memory to make itpossible to pick up images at high speed in camera operation. Inaddition, at this time, data of the picture P4 are held in thesemiconductor memory 12 until the compression of the data of the pictureP4 and writing the compressed data into the semiconductor memory 13 arecompleted, deformation of the picture contents being thus prevented. Inorder to conduct this operation, closure information of the recordingtrigger switch 5 is not picked up during a period lasting since theoperation control signal MC is outputted from the timing generationcircuit 2 until an operation end signal ME is supplied.

With reference to FIG. 3C, the timing generation circuit 7 stopsoccurrence of the write clock CL2 at the time point when writingcompressed data of the picture P4 has been finished. From this time on,the timing generation circuit 7 keeps the semiconductor memory 13 in thehold mode of the data of this picture P4. In addition, the timinggeneration circuit 7 sends the operation end signal ME to the timinggeneration circuit 2. Upon receiving the operation end signal ME, thetiming generation circuit 2 stops generation of the operation controlsignal MC, starts write operation into the semiconductor memory 12again, writes data of pictures P5, P6 and P7 into the semiconductormemory 12 successively, and prepares for the next closure operation ofthe recording trigger switch 5.

It is conceivable to use a memory having a data storage capacitycorresponding to a plurality of sheets of pictures as the semiconductormemory 13. At this time, only a partial area assigned to one sheet ofpicture, out of the storage area of picture data included in thesemiconductor memory 13, is rewritten with new picture data during datawrite operation intervals denoted by P4, P7 and so on in FIG. 3C.

During intervals denoted by “hold” in FIG. 3C, not only picture datawritten immediately before them but also picture data written beforethen are also held.

In case the semiconductor memory 13 is a static random access memorybacked up by a battery or a non-volatile memory of so-called flash type,for example, data of picture Px, which have been recorded at the time ofimaging before imaging at this time started by closure of the powersupply switch 4 at time T1, are held before the time point shown in FIG.3C whereat data of the picture P4 are written.

In FIG. 3, memory operation in case the recording trigger switch 5 isclosed again (time T3) during the interval for writing data of thepicture P7 into the semiconductor memory 12 is also shown. Operation inthis case is also the same as the recording operation of the picture P4,and its description will be omitted.

The operation of the electronic camera function (still picture recordingfunction) of this embodiment has heretofore been described by referringto FIG. 3. This operation is similar to the operation of the apparatusshown in the above described conventional technique references 1 and 2.

In case the semiconductor memory 13 is a memory of flash type, pictureimage cannot be rewritten by using so-called overwriting because of thedevice configuration. In a stage before writing data of the picture P4,therefore, operation for once erasing picture data remaining in thememory area assigned as the data writing area of the picture P4 isexecuted at timing of the picture P4 shown in FIG. 3C. To be concrete,this erasing operation is operation for writing data of a certainpredetermined logic level into the semiconductor memory. This can becarried out by disposing on the output side of the data compressioncircuit 21 of FIG. 1, for example, a logic gate controlled so as tooutput data of a predetermined level in response to a control signalwhich is outputted from the timing generation circuit 7 and which is notillustrated and by writing the data of this predetermined level prior towriting data of the picture P4.

As the memory device of flash type, there is also known such a memorydevice that a code signal supplied to the data input/output terminal I/Ois taken into the memory device by using several kinds of control signaland the operation mode is changed over to write, erase, or the like.Furthermore, there is also known such a memory device having a so-calledready/busy signal generation function in erasing or writing operation inorder to generate data of a predetermined logic level and thereby givewarning against advance to the next operation until the internaloperation of the memory device has been completed. Such memory devicesmay also be used by providing a plurality of changeover signals for theswitch 11 as occasion demands and suitably changing over to a controlcode or picture data as a signal to be supplied to the data input/outputterminal I/O by means of a technique known in the field of the digitalcircuit technique using a semiconductor memory. Furthermore, it is alsopossible to provide interface circuits conformed to the function of thememory device to be used between the switches 11 and 15 and thesemiconductor memory 13 as shown in FIG. 1.

By thus adopting such a configuration that erasing operation may beexecuted in response to image information signal recording when thesemiconductor memory 13 is a memory of flash type, the user canmanipulate it with a feeling similar to that of a conventional memorydevice allowing automatic rewriting using overwriting, without beingtroubled by the erasing operation inherent in memories of flash type.

In accordance with a feature of this embodiment, the connector 14, theswitches 11 and 15, the state detection circuit 23 for detecting theready state of operation for exchanging signals with an external device,and the AND gate 6 for preventing operation start of the timinggeneration circuit 7 are provided so that digital image informationsignals may be exchanged between an external device and thesemiconductor memories 12 and 13.

This point will hereafter be described by referring to FIGS. 4 and 5.FIG. 4 is a block diagram showing one concrete example of the statedetection circuit 23 in such a state that an external device isconnected to the connector 14 of FIG. 1. In FIG. 4, 23 a denotes a T-FF(T flip-flop), 23 b an AND gate, 23 c an OR circuit, 25 an externaldevice, and 25 a a connector. Components corresponding to those of FIG.1 are denoted by like characters.

FIG. 5 is a timing chart for describing the signal exchange functionwith the external device. Signals corresponding to those of FIG. 4 aredenoted by like characters. Time slots (A), (B) and (C) of FIG. 5 arethe same as FIGS. 3A, 3B and 3C, respectively.

With reference to FIGS. 1 and 5 first of all, picture data alreadyrecorded are held in the semiconductor memory 13 and the timinggeneration circuit 7 has stopped its operation at the time T1 whereatthe power supply switch 4 is activated, as described before. Therefore,the operation end signal ME is at an “H” level, the operation end statebeing thus indicated. At time T2, the recording trigger switch 5 isclosed. By a series of operations described before, operation forwriting data of the picture P4 into the semiconductor memory 13 asrepresented by the time slot (C) of FIG. 5 is started. Thereby, thelevel of the operation end signal ME becomes “L”, indicating that thetiming generation circuit 7 is operating.

With reference to FIGS. 4 and 5, the operation end signal ME is suppliedto the AND gate 23 b of the state detection circuit 23 as one of inputsthereof. The other input of the AND gate 23 b is a signal CSSa(hereafter referred to as ready situation indication signal) indicatingthe ready situation of signal exchange operation, which is supplied fromthe external device 25 via the connectors 25 a and 14 when the connector25 a of the external device 25 is coupled to the connector 14 forconnection of the external device. The output of this AND gate 23 b issupplied to a clock terminal T of the T-FF 23 a as a trigger clock.

To a reset terminal R of this T-FF 23 a, an initial reset signal INSobtained when the operation power supply is activated by the powersupply switch 4 (FIG. 1) is supplied via the OR gate 23 c. This initialreset signal INS is generated during a predetermined minute time afterthe power supply has been coupled. The initial reset signal INS is usedto reset respective logic circuits to predetermined initial states. Thisreset technique is a method well known in the field of logic circuittechnique, and a specialized IC for generating a reset signal when powerhas begun to be supplied is also commercially available. Therefore, sucha reset signal generating IC may be provided as a component of the statedetection circuit 23. Alternatively, the output signal of a reset signalgenerating circuit provided in the timing generation circuit 2 may beused as the initial reset signal INS.

The Q output of the T-FF 23 a is outputted as a state detection signalSD. As shown in FIG. 5, this state detection signal SD is reset from anindefinite state (indefinite state of “H” or “L”) to the “L” state attime T1 by the initial reset signal INS. When the state detection signalSD is in the state “L”, the switches 11 and 15 shown in FIG. 1 are instates illustrated in FIG. 1. This state detection signal SD assumingthe state “L” is inverted by the inverter 9 of FIG. 1, resulting in the“H” state. Thus the AND gate 6 passes the operation control signal MC.As described before with is reference to FIG. 3, therefore, data of thepicture P4 are written into the semiconductor memory 13 in response toclosure of the recording trigger switch 5 at time T2.

It is now assumed that the ready situation indication signal CSSa of “H”indicating that the preparation of signal exchange has been completed inthe external device 25 is supplied from the external device 25 to thestate detection circuit 23 at time T4. In keeping with the end ofoperation of the timing generation circuit 7 caused by completion ofoperation for writing data of the picture P4 into the semiconductormemory 13, the operation end signal ME changes to “H”. At this timing,the T-FF 23 a is triggered. As a result, the state detection signal SDis inverted to “H”.

When the state detection signal SD turns “H”, the switches 11 and 15 ofFIG. 1 are changed over to positions opposite to those illustrated. Aswell known in the art, the switch 11 serving as unidirectional digitalsignal switches can be easily implemented by multiplexer circuits, forexample, and the switch 15 serving as a bidirectional switch can beeasily implemented by using a so-called analog switch circuit, forexample.

The state detection signal SD is supplied to the external device 25 viathe connectors 14 and 25 a. By means of the “H” level, the statedetection signal SD informs the external device 25 of the fact that theimaging and recording apparatus is ready to exchange signals.

Upon receiving this state detection signal SD, the external device 25shown in FIG. 1 supplies a clock CL3, an address signal Ad3, and aread/write changeover signal (R/-W3) for ordering readout to thesemiconductor memory 13 via the switch 11. Thereupon, the semiconductormemory 13 reads out image data corresponding to one particular sheet ofpicture, for example, or every picture data from a storage areaspecified by this address signal Ad3. The data thus read out aresupplied from the data input/output terminal I/O to the external device25 (FIG. 4) via the switch 15 and the connector 14. At this time,operation of the semiconductor memory 13 is controlled exclusively bythe external device 25.

With reference to FIGS. 4 and 5, upon reading desired image data fromthe semiconductor memory 13, the external device 25 stops output of theclock CL3, restores the ready situation indication signal CSSa to “L”.At the same time, the external device 25 supplies an exchange operationend signal CSSb to the state detection circuit 23. This exchangeoperation end signal CSSb is supplied to the T-FF 23 a via the OR gate23 c. As a result, the T-FF 23 a is reset and the state detection signalSD is restored to “L”.

In case the external device 25 is a personal computer, a signal of acomparatively low frequency is often used as the clock CL3 for signalexchange (FIG. 1). It is convenient that the frequency can be determinedby only the restraint condition of the external device 25 alone. Ingeneral, in case a low cost one is used as the external device 25, itsdata processing capability is low and hence signal exchange using alow-frequency clock is suitable. If an external device having highprocessing capability is used, it is desired that the exchange operationis completed in a short time by using a high-speed clock. This is thereason why it is desired that the frequency can be determined by onlythe restraint condition of the external device 25 alone. Therefore, itis conceivable that the time required for signal exchange with theexternal device 25 differs depending upon the kind of the externaldevice in use even if the amount of exchanged signal data is the same.

In this embodiment, the state detection signal SD is supplied also forcontrolling the AND gate 6 inserted in the transmission path of theoperation control signal MC, which commands operation start of thetiming generation circuit 7. When the state detection signal SD is “H”,the operation control signal MC is blocked by this AND gate 6. Amongsuccessive operations of writing image data into the semiconductormemories 12 and 13 executed by closure of the recording trigger switch5, at least writing new image data into the semiconductor memory 13 isinhibited. A change of image data in the semiconductor memory 13 andhence deformation of image contents are thus prevented during theindefinite time required for exchange of signals with the externaldevice 25.

FIG. 5 illustrates operation of the embodiment having the abovedescribed configuration. The timing generation circuit 2 can beimplemented by using a technique known in the field of logic circuittechnique so that closure of the recording trigger switch 5 may bedisregarded when the state detection signal SD is “H”. Image data canthus be prevented from being changed in the semiconductor memory 13. Asa matter of course, however, every operation caused by manipulation ofthe recording trigger switch is inhibited in this case.

With reference to the time slot C of FIG. 5, the operation for writingthe picture P4 in the semiconductor memory 13 is completed and theoperation end signal ME is inverted to “H”. As described with referenceto FIG. 3, operation for writing the pictures P5, P6 and P7 into thesemiconductor memory 12 is then resumed (time slot B of FIG. 5). If therecording trigger switch 5 is closed at time T3, the picture P7 is heldin the semiconductor memory 12. Since the state detection signal SD is“H”, however, the operation control signal MC is blocked by the AND gate6 and it is not supplied to the timing generation circuit 7. The timinggeneration circuit 7 does not start its operation. Therefore, thesemiconductor memory 13 is inhibited from writing data of the picture P7therein, and previous data remain held.

In this way, not only changeover operation of the switches 11 and 15 butalso the operation of the timing generation circuit 7 is inhibited.Wasteful operation of the circuit can thus be eliminated, and powerdissipation can be suppressed.

When operation for reading data of the picture P4 into the externaldevice 25 is completed and the state detection signal SD outputted fromthe state detection circuit 23 is changed to “L” by the exchangeoperation end signal CSSb, the switches 11 and 15 are changed over topositions illustrated in FIG. 1 again. In addition, the AND gate 6 isenabled and the operation control signal MC is supplied to the timinggeneration circuit 7. Thereby, the timing generation circuit 7 startsits operation and the operation end signal ME turns “L” and compresseddata of the picture P7 are written into the semiconductor memory 13 attiming illustrated in the time slot C of FIG. 5. When this writing hasbeen finished, the operation end signal turns “H” again and the readysituation indication signal CSSa turns “H” again to indicate that theexternal device is ready to exchange signals. Thereby, the statedetection signal SD is inverted to “H” to inform the external device 25of the fact that the imaging and recording apparatus becomes ready toexchange signals again.

According to the operation of this embodiment as heretofore described,writing data into the semiconductor memory 13 is inhibited while dataare being read from the semiconductor memory 13 into the external device25. Or reading data into the external device 25 in the middle course ofwriting data into the semiconductor memory 13 is inhibited. Therefore,there is no fear that picture data in the semiconductor memory 13 may berewritten while operation for reading data of the semiconductor memory13 into the external device 25 is being executed. Therefore, mixedoutput of data of a plurality of sheets of pictures instead of data ofone sheet of imaged picture can be prevented. As a result, the picturereproduced by using the output data can be prevented from being deformedto yield a picture different from one sheet of imaged picture.

In such a configuration that the output of the operation control signalMC is kept waiting, it is possible to take image data in thesemiconductor memory 12, i.e., execute imaging by manipulation forclosing the recording trigger switch 5 even while readout of data intothe external device 25 is being executed. Furthermore, upon completionof data readout into the external device 25, image information thustaken in can be automatically transferred to the semiconductor memory 13and recorded therein without needing new manipulation performed by theuser. Furthermore, when data writing into the semiconductor memory 13has been completed, the state detection signal SD is automaticallyinverted to “H” in response thereto, and the imaging and recordingapparatus of this embodiment is changed over to the state allowingsignal exchange with the external device 25. In addition, the connectedexternal device 25 can be informed of the fact that the apparatus is inthis state. Therefore, image data recorded in the semiconductor memory12 can be read out continuously by the external device 25 with ashortened waiting time.

Furthermore, the ready situation indication signal CSSa is not limitedto the level change timing as shown in FIG. 5. For example, the readysituation indication signal CSSa may be inverted to “H” once andthereafter kept at this level. At this time, every time operation ofwriting new image information in the time slot C of FIG. 5 is completedand the operation end signal ME is inverted from “L” to “H”, theapparatus is automatically brought to such a state that signal exchangewith the external device 25 is possible.

Furthermore, in case the ready situation indication signal CSSa isprescribed so as to return to “L” from “H” every time signal exchangewith the external device 25 is finished as shown in FIG. 5, the exchangeoperation end signal CSSb need not necessarily be supplied from theexternal device 25. In an alternative configuration, a known logiccircuit configuration, such as a monostable multivibrator circuit, forgenerating a pulse signal having a predetermined pulse width insynchronism with edge timing of the ready situation indication signalCSSa inverted from “H” to “L”, for example, is incorporated in the statedetection circuit 23. The ready situation indication signal CSSa issupplied to the logic circuit configuration to obtain a pulse signalcorresponding to the exchange operation end signal CSSb.

With reference to FIG. 5, it is now assumed that the ready situationindication signal CSSa is inverted to “H” during the “H” interval of theoperation end signal ME. In this case, the state detection circuit 23immediately outputs the state detection signal SD of H. The imaging andrecording apparatus of this embodiment is brought to the state of signalexchange with the external device 25. In particular, when the readysituation indication signal CSSa is inverted from “L” to “H” immediatelybefore the operation end signal ME is changed over from “H” to “L” inresponse to closure of the recording trigger switch 5, a noise signalhaving a minute pulse width is generated from the AND gate 23 b shown inFIG. 4. There is a fear that the T-FF 23 a may be triggered thereby andthe state detection signal SD may be inverted to “H”. Furthermore, whenthe ready situation indication signal CSSa is inverted to “H” before thetime T1 or around the time T1 there is a fear that operation of the T-FF23 a may become indefinite because of competition with reset control ofthe T-FF 23 a exercised by the initial reset signal INS.

FIG. 6 is a circuit diagram showing another embodiment of the statedetection circuit 23 of FIG. 1 which is suitable for such a case aswell. In FIG. 6, 23 d denotes an inverter, 26 to 29 resistors, 30 atransistor, 31 and 32 capacitors, and 33 a power supply. Componentscorresponding to those of FIGS. 1 and 4 are denoted by like characters.

FIGS. 7A and 7B are waveform diagrams showing signals of variouslocations in FIG. 6. Signals corresponding to those of FIG. 6 aredenoted by like characters.

With reference to FIG. 6, an insertion detection switch 24 is providedin the state detection circuit 23. When a connector 25 a of an externaldevice (not illustrated) is coupled to the connector 14 (at time T1),this insertion detection switch 24 is pressed to close. As a result, avoltage signal SV of “H” fed from the power supply 33 is supplied to theAND gate 23 b. This voltage signal SV of “H” serves as the readysituation indication signal CSSa of the concrete example shown in FIG.4. A resistor 28 functions to keep one of inputs of the AND gate 23 b atthe ground (“L”) level when the insertion detection switch 24 is closed.

If power is supplied to the apparatus by closure of the power supplyswitch 4 of FIG. 1 with the connector 25 a coupled to the connector 14as shown in FIG. 7A, therefore, it becomes equivalent to inversion ofthe ready situation indication signal CSSa from “L” to “H” at the timeT1 as described with reference to FIG. 5.

Furthermore, in this concrete example, the operation end signal ME issupplied to the AND gate 23 b via the resistor 26 as the other inputthereof. Between this input terminal of the AND gate 23 b and theground, the capacitor 31 and the transistor 30 are connected inparallel. The initial reset signal INS is supplied to the base of thistransistor 30 via the resistor 27.

If the initial reset signal INS of “H” is generated when power is turnedon as shown in FIG. 7A, the transistor 30 becomes conductive during theduration of the signal. Therefore, the level ADI of the input of the ANDgate 23 b whereat the operation end signal ME is supplied is kept at“L”. When a predetermined time has elapsed, the initial reset signal INSturns “L” and the transistor 30 becomes nonconductive. If the operationend signal ME is “H” at this time, the input level ADI turns “H” after atime delay determined by a time constant of the resistor 26 and thecapacitor 31. During this time delay, the T-FF 23 a is reset by theinitial reset signal INS. By output ADO of the AND gate 23 b having alevel “1” obtained by the input level ADI therefore, the T-FF 23 a canbe surely turning “H” triggered to generate the state detection signalSD.

FIG. 7B shows operation in case there is a competition in timing betweenthe operation control signal MC of “H” outputted at time T2′ byoperation of the timing generation circuit 2 in response to closuremanipulation of the recording trigger switch 5 (FIG. 1) performed attime T2 and the voltage signal SV of “H” supplied from the power supply33 to the AND gate 23 b in response to closure of the insertiondetection switch 24.

The timing generation circuit 7 (FIG. 1) starts its operation inresponse to the operation control signal of “H” generated from thetiming generation circuit (FIG. 1) at time T2′. The operation end signalME is thus inverted from “H” to “L”. As a result of operation delaydepending upon the signal propagation speed of circuit components, orphase relationship between the operation clock of the timing generationcircuit 7 supplied from the oscillator 8 and the operation controlsignal MC, there typically occurs a time difference between the time T2′and the time when the operation end signal ME is inverted to “L”thereafter. If the voltage signal SV supplied from the insertiondetection switch 24 is inverted from “L” to “H” during the interval ofthis time difference, an output signal ADO having an impulsive “H” isgenerated from the AND gate 23 b for only a short time. If the TFF 23 ais triggered by this output signal ADO, the state i detection signal SDis inverted to “H”. If it is left intact, the switches 11 and 15(FIG. 1) are connected to the access side of the external devicealthough the timing generation circuit 7 is operating. Therefore, imagedata picked up at time T2 cannot be stored in the semiconductor memory13 (FIG. 1).

Therefore, the concrete example shown in FIG. 6 has the followingconfiguration in order to avoid such a situation that imaging becomesinvalid.

That is to say, the OR circuit 23 c is supplied with not only theexchange operation end signal CSSb and the initial reset signal INS asin the concrete example shown in FIG. 4 but also the operation endsignal ME inverted in level by the inverter 23 d. At time when theoperation end signal ME is inverted to “L”, the T-FF 23 a is adapted tobe reset thereby. The state detection signal SD once inverted to “H” isadapted to be returned to “L”. As a result, operation for writing imageinformation into the semiconductor memory 13 can be conductedeffectively by the operation of the timing generation circuit 7.

At this time, the state detection signal SD having an impulsive waveformof “H” as shown in FIG. 7B is generated under the condition that thevoltage signal SV supplied from the insertion detection switch 24 isinverted to “H” within a time region around the time T2′ prescribed bythe sum of t1 and t2. The time t1 is a circuit operation delay time fromthe time when the voltage signal SV supplied from the insertiondetection switch 24 is inverted to “H” until the AND gate 6 (FIG. 1) isclosed by the state detection signal SD. The time t2 is a delay timefrom the time when the operation control signal MC is inverted to “H”until the T-FF 23 a is reset by the operation end signal ME of “L”. Atthis time, the time values t1 and t2 can be predicted beforehand on thebasis of the speed performance of circuit components in use or theadopted circuit configuration. The interval of “H” of the statedetection signal SD shown in FIG. 7B is shorter than the interval(t1+t2).

By providing a circuit configuration for preventing output of a signalhaving duration shorter than a predetermined pulse width in the outputportion of the state detection signal SD to the connector 14, therefore,the state detection signal SD having impulsive “H” as shown in FIG. 7Bcan be prevented from being supplied to the external device. In FIG. 6,an integration circuit having a resistor 29 and a capacitor 32 is usedas such prevention means. As a matter of course, other configurationsimplementing a similar function are also known in the field of the logiccircuit technique. The external device may be configured so that theexternal device may not be respond to the state detection signal SDhaving a minute pulse width supposed beforehand, even if such animpulsive state detection signal SD is supplied to the external deviceas it is. However, if the state detection circuit 23 is configured so asto prevent such an impulsive state detection signal SD as describedabove, the restraint imposed upon the operation of the external devicecan be reduced and trouble for setting an operation program in theexternal device can be reduced.

As still another concrete example of the state detection circuit 23, agate may be provided on the resistor 28 side of the insertion detectionswitch 24 shown in FIG. 6, and the gate may be controlled by a gatesignal GC shown in FIG. 7B so as to block the voltage signal. This gatesignal GC is generated by the timing generation circuit 2 so as to turn“H” at time T2 when the recording trigger switch 5 is closed, i.e., apredetermined time before the operation control signal MC and return to“L” when a predetermined time has elapsed after the inversion of theoperation end signal ME to “L”. During the “H” interval of this gatesignal GC, the voltage signal SV supplied from the insertion detectionswitch 24 is blocked and is not supplied to the AND gate 23 b. Thevoltage signal SV supplied from the insertion detection switch 24 isinhibited from being inverted to “H” in a time region (t1+t2) of FIG.7B. In this case, the output signal ADO of the AND gate 23 b and the “H”state of the state detection signal SD shown after the time T2′ of FIG.7B are not generated. Therefore, it becomes unnecessary to supply theinverted signal of the operation end signal ME to the OR circuit 23 c.

The state detection circuit 23 shown in FIGS. 4 and 6 and the AND gate 6and the inverter 9 shown in FIG. 1 are formed by using hardware logiccircuits. Alternatively, a microcomputer may also be used. In this case,the microcomputer detects the state on the basis of the initial resetsignal INS, the operation end signal, the voltage signal SV, the gatesignal GC, and the exchange operation end signal CSSb. On the basis ofthe result of state detection, the microcomputer generates the operationcontrol signal MC and the state detection signal SD.

Imaging operation and operation for outputting image information to theexternal device of the embodiment shown in FIG. 1 have heretofore beendescribed. Image reproduction operation of this embodiment will now bedescribed by referring to an operation time chart shown in FIG. 8.

In this operation, the power supply switch 4 is changed over to aposition indicated by a broken line opposite to the position illustratedin FIG. 1. As a result, changeover to the reproduction mode is made.Furthermore, in this case, the recording trigger switch 5 is configuredso as to have a function of a progressive selection switch forreproduced images. Such function changeover can be easily implemented byusing a microcomputer or a logic circuit technique.

With reference to FIGS. 1 and 8, the user closes the reproduction modeside of the power supply switch illustrated by a broken line at time T1.Thereupon, power of the operation power supply is supplied. In addition,reproduction operation is started as indicated by an operation waveformA of FIG. 8. At this time, data of the picture P1 of the first sheet areread out from the semiconductor memory 13 in the image data hold stateas the initial operation as represented by a time slot B of FIG. 8. Thedata thus read out are written into the semiconductor memory 12 asrepresented by a time slot C of FIG. 8. Such an initial operation isexecuted as hereafter described.

Upon closure of the power supply switch 4, the timing generation circuit2 starts the reproduction operation. The microcomputer included in thetiming generation circuit 2 is programmed beforehand so as to conductthe following initial operation at this time. That is to say, the timinggeneration circuit 7 is activated by the operation control signal MC togenerate the clock CL2, the address signal Adz, and the read/writechangeover signal (R/-W2) of “L” indicating the read operation.Furthermore, an operation clock CK5 of the image data decompressioncircuit 22 for restoring uncompressed image data from compressed imagedata, and the clock CL1 and the address signal Ad1 for the semiconductormemory 12 are generated. In addition, the switches 10, 16 and 18 arechanged over to positions opposite to illustrated positions by theswitch control signals SW1, SW2 and SW3, respectively. By start of theinitial operation in the timing generation circuit 7, the operation endsignal ME is kept at “L” at time T1.

Even if access ready state from the external device to the semiconductormemory 13 is indicated as shown in FIG. 8 by the ready situationindication signal CSSa shown in FIGS. 4 and 5, the state detectionsignal SD is prevented from being inverted to “H” by action of the ANDgate 23 b shown in FIG. 4 or FIG. 6. Therefore, the switches 11 and 15keep the states shown in FIG. 1. Image data are read out from theinput/output terminal I/O of the semiconductor memory 13 and subjectedto processing in the image data decompression circuit 22. Thereafter,the image data are supplied to the semiconductor memory 12 via theswitch 16. At this time, the clock CL1 and the address signal Ad1 fedfrom the timing generation circuit 7 are supplied to the semiconductormemory 12 as the write clock WC and the write address signal WA,respectively.

The initial operation in the reproduction mode has heretofore beendescribed. Operation for reading image data from the semiconductormemory 12 will now be described.

In this case, the clock CL and the address signal Ad outputted from thetiming generation circuit 2 are supplied to the semiconductor memory 12as the read clock RC and the read address signal RA, respectively. Thisdata readout is performed so as to scan the data area corresponding to afield picture or a frame picture with the scanning speed of thetelevision signal.

The image data read out from the semiconductor memory 12 are supplied tothe encoder circuit 19 via the switch 18, converted into an analog videosignal, and outputted from the output terminal 20.

In general, supply of operation power is stopped by supply stoppage ofthe power supply. In the semiconductor memory 12 which is not backed upin power supply, false data having indefinite levels are stored at timeT1 when supply of power is started. With reference to FIG. 8, therefore,the false data are successively replaced by data of the picture P1 atthe time of data writing operation of the picture P1.

Processing for restoring data of one sheet of picture in the image datadecompression circuit 22 is subject to restraint imposed by theoperation speed, for the reason of processing capability similar to thatof the image data compression operation as described above. In general,therefore, the time required for restoring data of one sheet of picturein the image data decompression circuit 22 becomes longer than the timerequired for reading out image data of one sheet from the semiconductormemory 12 by using the clock CL and the address signal Ad supplied fromthe timing generation circuit 2. If data readout from the semiconductormemory 12 is immediately started at time T1 by using the clock CL andthe address signal Ad supplied from the timing generation circuit 2 anda video signal is generated in the encoder 19 from the image data thusread out, therefore, then a false image which often forms a mosaicpattern according to the above described false data is first reproducedon a display device such as a television monitor device connected to theoutput terminal 20. Successively, the false image is gradually replacedby the image according to data of the picture P1 decompressed by theimage data decompression circuit 22, commencing with the upper leftcorner, for example, of the displayed image. Such an image display isperformed.

It is also possible to adopt such a configuration that the video signalaccording to false data at the time of rewriting is prevented from beingoutputted and a portion of the screen where rewriting is not finished isdisplayed with gray, for example. Such a configuration can beimplemented by knowing, on the basis of the situation of the addresssignal Ad1 supplied from the timing generation circuit 7, the recordingarea of the semiconductor memory 12 replaced by the restored data andkeeping the input level of the encoder 19, for example, at apredetermined value at timing when image data from other areas areoutputted from the semiconductor memory 12. Furthermore, supply of poweris not stopped. At the time of update of reproduced image successivelyperformed, such a display that the image previously selected isgradually replaced by a newly selected image is made.

As evident from the description heretofore given, image informationoutputted from the output terminal 20 has an interval having a mixtureof a plurality of sheets of pictures. However, the television monitordevice connected to the output terminal 20 is not a device used fortaking out one particular sheet of picture. Therefore, transitionallyoutputting mixed pictures poses no problem. Rather, it is often moredesirable to be able to display, on the monitor display, how the imageis updated because operation situation of the apparatus can be grasped.

When operation for writing data of the picture P1 into the semiconductormemory 12 is finished, the timing generation circuit 7 stops generationof the clock CL1 and the clock CL2. The semiconductor memory 12 isbrought to the hold mode of data of the picture P1. Readout operation ofthe semiconductor memory 12 is stopped. Furthermore, the timinggeneration circuit 7 outputs the operation end signal ME of “H”.

In case at this time the ready situation indication signal CSSa is “H”as shown in FIG. 8 to indicate the ready state of signal exchange withthe external device, then the state detection circuit 23 generates thestate detection signal SD of “H”. Thereby, the switches 11 and 15 arechanged over to positions opposite to positions illustrated in FIG. 1 toallow the external device connected to the connector 14 to access thesemiconductor memory 13.

From the external device, the clock CL3, the address signal Ad3, and theread/write changeover signal (R/-W3) of “L” indicating the data writingare supplied. Furthermore, data of a picture Pext are supplied from theexternal device to the semiconductor memory 13 via the switch 15. As aresult, data of one sheet of picture or a plurality of sheets ofpictures can be written into the semiconductor memory 13 at timingdenoted by Pext shown in the time slot B of FIG. 8. Furthermore, if theready situation indication signal CSSa remains “L” unlike the case ofFIG. 8 after the operation for writing the picture P1 as represented bythe time slot of FIG. 8 has been finished, both the semiconductormemories 12 and 13 are in the data hold state. If under this state therecording trigger switch 5 is closed at time T2 and selection of thenext picture is ordered, then the timing generation circuit 2immediately outputs the operation control signal MC and operation forwriting a picture P2 into the semiconductor memory 12 is executed.

In this embodiment, the output of the operation control signal MC can bereserved in the same way as the above described imaging operation whilethe state detection signal SD is in the “H” state even in thereproduction operation. When the state detection signal SD has turned“H” before the time T2 in FIG. 8, therefore, the semiconductor memory 12is kept in the data hold state until the exchange operation end signalCSSb indicating the end of the signal exchange operation is suppliedfrom the external device and the state detection signal SD is returnedto “L”. If the state detection signal SD is inverted to “L”, operationfor writing the picture P2 into the semiconductor memory 12 can beautomatically executed. If the picture P2 is replaced by another pictureby rewriting in the semiconductor memory 13 at prior timing of Pext,then the picture after rewriting is written into the semiconductormemory 12.

In case signal exchange with the external device is not performed in theconnection state of the external device, it is a matter of course thatit suffices to keep the ready situation indication signal CSSa at “L”.In case the voltage signal SV fed from the insertion detection switch 24is used instead of the ready situation indication signal CSSa as in thestate detection circuit 23 shown in FIG. 6, the exchange operation endsignal CSSb is sent back from the external device whenever the statedetection signal of “H” is transmitted via the connector 14. Thereby,the state detection signal SD immediately returns to “L” and theapparatus is thus ready to start operation in response to closure of therecording trigger switch 5. As a result, selection of a reproduced imageresponsive to manipulation of the recording trigger switch 5 can beeffected without hindrance.

According to the image reproduction operation of this embodiment asheretofore described, operation for writing data fed from the externaldevice into the semiconductor memory 13 is inhibited while image dataare being read out from the semiconductor memory 13 in order to writethe reproduced image data into the semiconductor memory 12. Whileoperation for writing data fed from the external device into thesemiconductor memory 13 is being executed, it is inhibited to read datafrom the semiconductor memory 13 and write the data into thesemiconductor memory 12. Owing to such operation, there is no fear thatimage data read out from the semiconductor memory 13 has data of amixture of a plurality of pictures. Therefore, image data written intothe semiconductor memory 12 or contents of image read out therefrom anddisplayed on the television monitor are prevented from being deformedand becoming different from one sheet of picture stored in thesemiconductor memory 13.

This embodiment can be modified so that the image written from theexternal device may be reproduced immediately and automatically. Forachieving this modification, update operation of the reproduced imageresponsive to closure of the recording trigger switch s is kept waitingduring an interval of signal exchange with the external device.Furthermore, means for closing the recording trigger switch 5mechanically or electrically, for example, without a break is jointlyused. Furthermore, for achieving the modification, the microcomputerincluded in the timing generation circuit 2 is programmed so as todetect the open/close state of the recording trigger switch 5 atpredetermined timing intervals such as every timing of inversion of thestate detection signal SD from “H” to “L”. A function similar to thismodification can also be implemented by such a configuration that thesignal exchange operation end signal CSSb is used instead of the closuresignal of the recording trigger switch 5. If at this time thesemiconductor memory 13 is adapted to record a plurality of sheets ofpictures, image inputting from the external device is conducted at arate of one sheet of picture per writing operation. Furthermore, inorder to square the written image with the image read out, means fordetecting the address signal supplied from the external device andloading its start address into a counter for generating the addresssignal Ad2 disposed in the timing generation circuit 7 is jointly used.

When the state detection signal SD is “H” in FIG. 5 or FIG. 8, operationfor writing data from the external device into the semiconductor memory13 or operation for reading data from the semiconductor memory 13 intothe external device can be executed by level inversion of the read/writechangeover signal (R/-W3) supplied from the external device no matterwhether the apparatus is in the imaging mode as described with referenceto FIGS. 4 and 5 or in the reproduction mode as described with referenceto FIG. 8. Furthermore, even in operation which has not been describedwith reference to FIGS. 5 and 8 and which includes a combination of theoperation mode of this embodiment and write access or read access of thesemiconductor memory 13 performed by the external device, the controloperation as described in FIGS. 5 and 8 using the state detection signalSD outputted from the state detection circuit 23 can prevent data of aplurality of sheets of pictures from being stored in a storage area ofthe semiconductor memory 13 assigned to data of one sheet of picture.According to the control operation as described in FIGS. 5 and 8, accessof the external device to the semiconductor memory 13 is inhibitedduring execution of data write access to the semiconductor memory 13 (atthe time of imaging mode) performed by the internal operation of thisembodiment or data read access from the semiconductor memory 13 (at thetime of reproduction mode). Furthermore, access to the semiconductormemory 13 performed by the internal operation of this embodiment isinhibited during execution of access to the semiconductor memory 13performed by the external device.

In the embodiment shown in FIG. 1 and heretofore described, access tothe semiconductor memory 13 from the external device is entirelyinhibited when the semiconductor memory 13 is accessed by operationstarted in response to closure of the recording trigger switch 5, i.e.,the imaging operation or the reproduction operation.

As apparent from the description of the above described embodiment,access to the semiconductor memory 13 performed by this internaloperation is executed by gaining access to only the memory area of imagedata corresponding to one screen stored in the semiconductor memory 13per closure of the recording trigger switch 5. When the semiconductormemory 13 is a memory storing data of a plurality of pictures,therefore, the desired effect can be obtained even if the accessinhibition control as described above is limited to the above describedmemory area of data corresponding to one sheet of picture.

FIG. 9 is a block diagram showing a primary part of another embodimentof a recording and imaging apparatus according to the present inventionallowing implementation of such control operation. With reference toFIGS. 9, 11A and 11B denote switches, 13A and 13B semiconductormemories, 15A and 15B switches, 23A, 23B and 34 state detectioncircuits, 35 a selection signal generation circuit, 36 and 37 AND gates,38 to 420R circuits. and 43 to 45 inverters. Components corresponding tothose of FIG. 1 are denoted by like numerals.

In FIG. 9, the left half of FIG. 1, i.e., the timing generation circuit2, the semiconductor memory 12, the imaging device 1, the camera signalprocessing circuit 17, and the encoder 19 are the same as shown in FIG.1 and hence will be omitted. Furthermore, the switch 1, thesemiconductor memory 13, the switch 15, and the state detection circuit23 shown in FIG. 1 are duplicated. That is to say, switches 11A and 11B,semiconductor memories 13A and 13B, switches 15A and 15B, and statedetection circuits 23A and 23B are provided. Although not illustrated isin FIG. 9, the timing generation circuit 7 generates the clock CL1 andthe address signal Ad1 in the same way as FIG. 1.

In accordance with a feature of this embodiment, the semiconductormemories 13 are disposed independently for each sheet of picture to bestored so that access control of image data may be executedindependently for each sheet of picture data. In this embodiment, it isassumed that the number of sheets of pictures to be stored is two. Asdescribed above, therefore, the semiconductor memory 13, the switch 11and 15, and the state detection circuit 23 as shown in FIG. 1 areduplicated.

Each of the semiconductor memories 13A and 13B each for storing data ofone sheet of picture is formed by one commercially availablesemiconductor memory IC (or a plurality of commercially availablesemiconductor memory ICs). In general, the semiconductor memory IC has achip enable terminal CE. When the logic level of a chip enable signalsupplied to this terminal is “H”, for example, the semiconductor memoryIC is activated by the clock CL, the address signal Ad, and theread/write changeover signal (R/-W). When the logic level of the chipenable signal is “L”, the semiconductor memory IC does not acceptentirely the above described operation control, and makes the input andoutput impedance values of the data input/output terminal I/O high toperform disconnection from the external circuit. In this embodiment,selection out of the semiconductor memories 13A and 13B is made by usingsuch a function.

In this embodiment, therefore, the operation control signal MC suppliedto the timing generation circuit 7 via the AND gate 6 is also suppliedto the selection signal generation circuit 35 formed by a counter or ashift register. This selection signal generation circuit 35 generatesselection signals S1 or S2 respectively for selecting the semiconductormemory 13A or 13B.

In this embodiment as well, access to the semiconductor memories 13A and13B is performed by taking each sheet of picture as the unit in the sameway as the embodiment described before. Therefore, both the selectionsignals S1 and S2 do not simultaneously assume a logic level forselecting the semiconductor memory 13A or 13B. It is now assumed thatthe selection level is “H”. From the external device, a ready situationindication signal CSSa1 which turns “H” when the semiconductor memory13A is to be selected and a ready situation indication signal CSSa2which turns “H” when the semiconductor memory 13B is to be selected aresupplied via the connector 14.

Upon receiving the operation control signal MC supplied from the timinggeneration circuit 2 in response to closure of the recording triggerswitch 5 shown in FIG. 1, the timing generation circuit 7 executesaccess to the semiconductor memory 13. In the selection signalgeneration circuit 35 at this time, the selection signal S1 turns “H”and the selection signal S2 turns “L” as a result of the first closureof the recording trigger switch 5. In response to the second closure ofthe recording trigger switch 5, the selection signal S1 turns “L” andthe selection signal S2 turns “H”. In response to the fourth closure ofthe recording trigger switch 5, the selection signals S1 and S2 returnto their initial levels. Thereafter, level change of the selectionsignals S1 and S2 are repeated as described above each time therecording trigger switch 5 is closed.

The selection signals S1 and S2 are supplied to the AND gates 36 and 37,respectively. Upon start of operation of the timing generation circuit7, the selection signals S1 and S2 turn “L”. During the operationthereof, the operation end signal ME is inverted in level by theinverter 43 and supplied to the AND gates 36 and 37 in order to maintainthe levels of the AND gates 36 and 37. Output signals of the AND gates36 and 37 are supplied to chip enable terminals CE of the semiconductormemories 13A and 13B as chip enable signals via the OR circuits 38 and39, respectively. Thereby, the semiconductor memories 13A and 13B arealternately selected each time the timing generation circuit 7 executesoperation in response to closure of the recording trigger switch 5.

The selection signals S1 and S2 are inverted in level respectively bythe inverters 44 and 45 and thereafter supplied to the state detectioncircuits 23A and 23B via the OR circuits 41 and 42, respectively.Furthermore, the operation end signal ME is also supplied to the statedetection circuits 23A and 23B via the OR circuits 41 and 42,respectively. As a result, the output signal of the OR circuit 41 turns“L” only while the semiconductor memory 13A is being accessed by thetiming generation circuit 7 and turns “H” during remaining intervals. Inthe same way, the output signal of the OR circuit 42 also turns “L” onlywhile the semiconductor memory 13B is being accessed by the timinggeneration circuit 7 and turns “H” during remaining intervals. In thestate detection circuits 23A and 23B, respectively, the output signalsof the OR circuits 41 and 42 take the place of the operation end signalME in the state detection circuit 23 shown in FIG. 1.

The ready situation indication signal CSSa1 is supplied from theexternal device to the state detection circuit 23A. The ready situationindication signal CSSa2 is supplied from the external device to thestate detection circuit 23B. These ready situation indication signalsCSSa1 and CSSa2 are similar to the ready situation indication signalCSSa supplied to the state detection circuit 23 in FIG. 1. The exchangeoperation end signal CSSb fed from the external device is supplied toboth the state detection circuits 23A and 23B.

The external device changes the ready situation indication signal CSSa1to “H” when the semiconductor memory 13A is to be accessed and changesthe ready situation indication signal CSSa2 to “H” when thesemiconductor memory 13B is to be accessed. The external device does notmake them “H” at the same time. In case the external device has accessedthe semiconductor memory 13A or 13B, the external device generates animpulsive exchange operation end signal CSSb as shown in FIG. 5 eachtime the access operation of the selected semiconductor memory isfinished.

By the configuration heretofore described, the state detection circuit23A conducts the same operation as that of the state detection circuit23 shown in FIG. 4. When the semiconductor memory 13A is accessed by thetiming generation circuit 7, the state detection signal SDa is kept at“L” irrespective of the state of the ready situation indication signalCSSa1. When this access is not performed, the state detection signal SDacan be changed over to “H” by changing the ready situation indicationsignal CSSa1 to “H”.

When the state detection signal SDa is “H”, it changes over the switches11A and 15A to make respective terminals of the semiconductor memory 13Aconnectable to the external device. In addition, the state detectionsignal SDa is supplied to the chip enable terminal CE of thesemiconductor memory 13A via the OR circuit 38 to enable thesemiconductor memory 13A. Furthermore, the state detection signal SDainforms the external device via the OR circuit 40 that the semiconductormemory 13 has become accessible. The semiconductor memory 13B is alsochanged over in access by the operation of the state detection circuit23B in the same way.

In addition, the state detection signals SDa and SDb are supplied to thestate detection circuit 34 as well. In the embodiment shown in FIG. 1,the state detection signal SD outputted from the state detection circuit23 is supplied to the AND gate 6 via the inverter 9, and this statedetection circuit 23 is used to control the timing generation circuit 2so as to wait output of the operation control signal MC. In theembodiment shown in FIG. 9, however, such operation is conducted byusing the state detection circuit 34.

That is to say, the state detection circuit 34 can detect, on the basisof the levels of the selection signals S1 and S2, whether thesemiconductor memory to be selected by the selection signal generationcircuit 35 in the next operation is the semiconductor memory 13A or thesemiconductor memory 13B. On the basis of the logic level of the statedetection signal SDa or SDb, therefore, the state detection circuit 34knows the situation of selection of the semiconductor memories 13A and13B made by the external device. When the semiconductor memory 13A or13B to be selected is not accessed by the external device, the statedetection circuit immediately starts its operation. When thesemiconductor memory 13A or 13B to be selected is accessed by theexternal device, the state detection circuit waits it, or selects thesemiconductor memory 13A or 13B which is not accessed and starts itsoperation.

FIG. 10 is a block diagram showing one concrete example of the statedetection circuit illustrated in FIG. 9. In FIG. 10, 34 a and 34 bdenote AND gates and 34 c denotes a NOR circuit. Componentscorresponding to those of FIG. 9 are denoted by like characters.

Assuming now that the selection signal S1 is “H” in FIG. 10, theselection signal generation circuit 35 changes over the selectionsignals S2 and S1 respectively to “H” and “L” when the next operationcontrol signal MC is inputted. When the selection signal S2 is “H”, theselection signal generation circuit 35 changes over the selectionsignals S1 and S2 respectively to “H” and “L” when the next but oneoperation control signal MC is inputted.

In the state detection circuit 34, therefore, the selection signal S2and the state detection signal SDa are supplied to the AND gate 34 awhereas the selection signal S1 and the state detection signal SDb aresupplied to the AND gate 34 b. When the semiconductor memory 13A or 13Bwhich is being accessed by the external device has coincided with thesemiconductor memory scheduled to be accessed by the next operation ofthe timing generation circuit 7, a signal of “H” is outputted fromeither the AND gate 34 a or 34 b. At this time, the output signal of theNOR circuit 34 c turns “L”. Therefore, passage of the operation controlsignal MC is blocked by the AND gate 6. Until the state detection signalSDa or SDb turns “L” and hence the above described coincidence state iscanceled, the wait operation state is continued.

In the embodiment shown in FIG. 9, one sheet of picture is stored ineach of two semiconductor memories 13A and 13B. That is to say, a totalof two sheets of pictures are stored. However, three or more sheets canbe stored by increasing the number of the semiconductor memories 13 andaccordingly installing more circuit configurations each including theswitches 11 and 15, the state detection circuit 23, and the OR circuit38. At this time as well, it suffices to provide one state detectioncircuit 34. One concrete example of the state detection circuit 34 incase N semiconductor memories are used is shown in FIG. 11. In FIG. 11,numerals 341, 342, 343, 344, . . . , 34N denote AND gates correspondingto the AND gates 34 a and 34 b of FIG. 10. Components corresponding tothose of FIG. 10 are denoted by like numerals.

With reference to FIG. 11, a selection signal generation circuit 35having the number of stages of counters or shift registers set so as tocorrespond to N semiconductor memories 13 generates N selection signalsS1, S2, S3, S4, . . . , SN, which are supplied to the AND gates 341,342, 343, 344, . . . , 34N of the state detection circuit 34,respectively. Although not illustrated, N state detection circuitscorresponding to 23A and 23B of FIG. 9 are provided. State detectionsignals SD1, SD2, SD3, SD4, . . . , SDN respectively from N statedetection circuits are supplied to the AND gates 341, 342, 343, 344, . .. , 34N, respectively. If any semiconductor memory 13 scheduled to beaccessed by the next operation of the timing generation circuit 7 isbeing accessed by the external device, execution of the operation of thetiming generation circuit 7 can be kept waiting owing to such aconfiguration.

With reference to FIGS. 10 and 11, the initial reset signal INS at thetime of turning on power is supplied to the selection signal generationcircuit 35. By resetting the above described counters, the initial resetsignal INS sets selection signals in the initial state. (In general, thefirst selection signal S1 is set to “H”.)

To the counter of the selection signal generation circuit 35 of FIG. 10or 11, a digital adder circuit for adding one to the current countthereof and a function of loading the result of addition into thecounter may be added. The above described loading is adapted to beexecuted at timing of inversion of the operation control signal MC from“L” to “H” when the output signal of the NOR circuit 34 c is “L”. Whenthe AND gate 6 has blocked the operation control signal MC, theselection signal generation circuit 35 automatically counts up owing tosuch a configuration, and cancels such a condition that the outputsignal of the NOR circuit 34 e turns “L”. By the operation controlsignal MC passed through the AND gate 6 in response to the cancel, theselection signal generation circuit 35 counts up again. As a result, asemiconductor memory which is not being accessed by the external devicecan be selected to execute data writing.

Even if the semiconductor memory 13 is divided into a plurality ofmemory blocks which can be independently accessed, the same effects asthose of the embodiment shown in FIG. 1 are obtained as heretoforedescribed. Furthermore in this case, when any one of a plurality ofmemory blocks is accessed by the external device, a memory block whichis not accessed may be automatically selected to access thesemiconductor memory 13 in the imaging operation or the reproductionoperation. In case a semiconductor memory having storage areas for aplurality of sheets of pictures is adopted, therefore, it is alsopossible to record a plurality of sheets of imaged pictures in storageareas excepting a storage area currently accessed by the externaldevice, even when access to the semiconductor memory 13 is executed bythe external device.

In the embodiments shown in FIGS. 1 and 9, the recording trigger switch5 for starting operation is disposed within the apparatus. However, thepresent invention is not limited to this. For example, the operation maybe started by a remote controller using infrared rays. Or the operationstart may be commanded from the external device connected to theconnector 14.

Furthermore, in the embodiments shown in FIGS. 1 and 9, memory meanssuch as a magnetic disk may also be adopted instead of the semiconductormemory 13. In this case as well, the embodiments can be configured sothat changeover control of access to these memories may be executed inthe same way as the foregoing description.

Furthermore, in the embodiments shown in FIGS. 1 and 9, image data arecompressed or decompressed. However, such a function is notindispensable to the present invention. Furthermore, the semiconductormemory 12 has been used as the buffer memory. Especially in anembodiment having no image data compression or decompression function,however, this semiconductor memory 12 is not indispensable, either. Theapparatus may be configured so that image information picked up will berecorded in the semiconductor memory 13 in real time.

Furthermore, in case the memory devices of flash type generating theready/busy signal described before are used as the semiconductormemories 13, 13A and 13B of FIGS. 1 and 9, the apparatus may beconfigured so that logical sum signals of ready/busy signals generatedby them and the state detection signals SD, SDa and SDb may betransmitted to the external device via the connector 14.

A variant of the embodiment of FIG. 1 will now be described. In thisvariant, a switch corresponding to the switch 11 is disposed between theswitch 10 and the semiconductor memory 12. Furthermore, there aredisposed switches for changing over a data input terminal I and a dataoutput terminal 0 of the semiconductor memory 12 and thereby allowingselection between the connection shown in FIG. 1 and the connection tothe external device via the connector 14. The switches are disposed sothat the signal indicating the operation state of the timing generationcircuit 2 may be changed over by the output signal of the statedetection circuit 23 used instead of the operation end signal ME or usedin addition to the operation end signal ME. Owing to such aconfiguration, it is possible to write uncompressed image data suppliedfrom the external device into the semiconductor memory 12, compress theimage data in the image data compression circuit 21, and write thecompressed image data into the semiconductor memory 13. Or it ispossible to write compressed image data supplied from the externaldevice into the semiconductor memory 13, restore the image data in theimage data decompression circuit 125, store the restored image datatemporarily in the semiconductor memory 12, and thereafter read out therestored image information from the semiconductor 12 into the externaldevice. Furthermore at this time, operation of the state detectioncircuit makes it possible to automatically avoid duplication between theaccess to the semiconductor memory 12 started in response tomanipulation of the recording trigger switch 5 performed by the user atarbitrary timing and access to the semiconductor memory 12 performed bythe external device. Therefore, data of a plurality of sheets ofpictures are prevented from being present mixedly in data of one sheetof picture.

FIGS. 12A to 12F are diagrams showing an exterior view and a use exampleof an embodiment of an imaging and recording apparatus 46 according tothe present invention. In FIG. 12A, 46 denotes an imaging and recordingapparatus according to the present invention, 47 a light receiving lensfor imaging, 48 a finder similar to that of a conventional film camera,and 49 a lens hood.

FIG. 12A shows the exterior view of the imaging and recording apparatus.In the imaging and recording apparatus, the light receiving lens 47 forimaging, the finder 48 and the lens hood 49, which are similar to thoseof a conventional film camera, are disposed. In the same way as theconventional film camera, a recording trigger switch 5 is disposed onthe illustrated left side of the top face and a connector 14 is attachedto the illustrated right side. If a semiconductor memory 13 incorporatedin the apparatus so as to be undetachable is used, illustrated thicknessD can be made extremely thin.

FIGS. 12B to 12E show examples in which a personal computer PC (FIG.12F) is used as the external device and the imaging and recordingapparatus 46 is attached thereto. FIG. 12B shows the case where theconnector 14 of the imaging and recording apparatus 46 is directlyconnected to a socket within the personal computer PC.

FIG. 12C shows an example in which the connector 14 of the imaging andrecording apparatus 46 is connected to the personal computer PC via asocket 50 and a cable 51.

In FIG. 12D, the imaging and recording apparatus 46 is mounted on anadapter 52 incorporating a power supply circuit such as a known AC-DCconverter for generating a DC voltage from an AC power source, and theadapter 52 is connected to the personal computer PC. In this case,operation power is supplied from an operation power input terminaldisposed in the connector 14 to the imaging and recording apparatus 46,and input and output signals of the connector 14 are coupled to thepersonal computer PC via an electric circuit such as electric wiring ora signal buffer circuit disposed within the adapter 52. The adapter 52may incorporate a known DC power supply such as a dry battery. In thiscase, the adapter 52 may be configured exclusively for supplyingoperation power and may be used together when the imaging and recordingapparatus 46 is used outdoors.

FIG. 12E shows an example in which the imaging and recording apparatus46 is mounted on an adapter 53 having a mechanism similar to a knowntable lamp and the imaging and recording apparatus 46 is connected tothe personal computer PC. In this case, the imaging and recordingapparatus 46 is disposed inside a circle drawn by fluorescent tubes ofround-shaped fluorescent lamps 54 a and 54 b. A subject illuminated bythe fluorescent lamps 54 a and 54 b is subjected to imaging. Resultantimage information is transmitted to the personal computer PC.

As shown in FIG. 12A, the terminal opening portion of the connector 14is disposed so as to face toward a direction different from thedirection the light receiving lens 47 faces toward. In the example ofapplication as shown in FIG. 12C, therefore, the connector 14 can besurely coupled. Furthermore, by manipulating the recording triggerswitch 5, it becomes easy to execute imaging at timing which is notsubjected to time management of the external device connected to theconnector 14.

Furthermore, terminal positions of the connector 14 shown in FIG. 12Aare prescribed by taking, as a reference, the apparatus armoring surfaceopposite to the direction of incident light to the light receiving lens47 for imaging. When the apparatus is mounted so that the referencesurface may face the adapter or like in application such as FIGS. 12B,12D and 12E, therefore, the direction of incident light is not shadedbut opened. As a result, imaging can be done under the state that theimaging and recording apparatus is mounted on the personal computer PC,adapter or the like.

As heretofore described, the imaging and recording apparatus accordingto the present invention has signal changeover means and a signaltransmission connector for accessing, from outside of the apparatus, amemory incorporated in the apparatus to store image information pickedup. Even when information stored in the memory is exchanged with anexternal device, therefore, the memory need not be detached. As aresult, the size of the apparatus can be reduced. In addition, thetrouble for attaching and detaching the memory is eliminated, and theapparatus can be used more conveniently.

In addition, the imaging and recording apparatus has means for detectingthe ready state or execution state of operation for accessing the memoryfrom outside of the apparatus. The apparatus is configured so thatexecution of operation for writing an image picked up into the memorymay be kept waiting when such a state has been detected. Furthermore,the apparatus has means for detecting whether operation for writing theimage picked up into the memory is in the ready state or executionstate. The apparatus is configured so that execution of operation foraccessing the memory from the external device may be kept waiting whensuch a state has been detected. Thereby, the picked up image writingcommand responsive to manipulation of the user, at arbitrary timing canbe executed without deforming the image information. Even if there isthe command while signal exchange with the external device is beingexecuted, contents of exchanged image information do not change.Furthermore, even if the apparatus is connected to the external devicevia the above described connector while the operation for writing theimage picked up into the memory is being executed, contents of thepicked up image under writing do not change.

In case the above described memory has a storage area of a plurality ofsheets of pictures, image pickup at arbitrary timing is possible by thepicked up image writing command at that timing responsive tomanipulation of the user, even while signal exchange with the externaldevice is being executed. Accordingly, image pickup can be performed atevery possible chance.

1. An imaging apparatus, comprising: an imaging module which generates an image signal from an optical image; a recording module which records said image signal generated in said imaging module into a recording medium; a reproducing module which reproduces said image signal recorded on said recording medium; an erasing module which erases data in an area assigned as an area into which said image signal of said recording medium is recorded; a control module which controls said recording module, said reproducing module and said erasing module; and a recording switch which instructs a recording; wherein, when said recording medium is a flash type memory, in response to an operation of said recording switch, said control module controls to initiate start of erasing of data in an area in which said image signal of said flash type memory is stored before completion of generation of said image signal in said imaging module, so as to enable operation of said recording medium by a user in the same manner as a memory enabling automatic rewriting using overwriting, without being troubled by an erasing operation inherent in a flash type memory. 